<model>s_browse_params¶
Usage¶
Filters the parameters used when generating the browse page for records (the model)
Note
Use the plural form of the <model>
Value¶
array $params
Params passed to the browse query. May include both filtering and sorting parameters
Arguments¶
None
Examples¶
class MyPlugin extends Omeka_Plugin_AbstractPlugin
{
protected $_filters = array('items_browse_params');
public filterItemsBrowseParams($params)
{
//always sort by title instead of order
$params['sort_param'] = "Dublin Core,Title";
return $params;
}
}